package com.log6z.dashborad.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * 看板小程序的登录用户管理
 * @TableName dashborad_user
 */
@TableName(value ="dashborad_user")
@Data
public class DashboradUser implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 密码
     */
    private String password;

    /**
     * 1远见2新能
     */
    private Integer type;

    /**
     * 登录后跳转小程序的地址
     */
    private String skipPath;

    /**
     * JSON字符串
     */
    private String params;

    /**
     * 是否禁用
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    @TableField(exist = false)
    private String token;
}